﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

/// <summary>
/// BTypeManage 的摘要说明
/// </summary>
public class BTypeManage
{
    DataBase data = new DataBase();
    public BTypeManage()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
	}

    #region 定义图书类型信息--数据结构
    private int id = 0;
    private string typename= "";
    private int days = 0;
    
    /// <summary>
    /// 标识
    /// </summary>
    public int ID
    {
        get { return id; }
        set { id = value; }
    }
    /// <summary>
    /// 图书类型名称
    /// </summary>
    public string TypeName
    {
        get { return typename; }
        set { typename = value; }
    }
    /// <summary>
    /// 可借天数
    /// </summary>
    public int Days
    {
        get { return days; }
        set { days = value; }
    }
    #endregion

}
